package cn.wolfcode.service.impl;

import cn.wolfcode.domain.AnnoEmployee;
import cn.wolfcode.mapper.AnnoEmployeeMapper;
import cn.wolfcode.service.IAnnoEmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AnnoEmployeeServiceImpl implements IAnnoEmployeeService {

    @Autowired
    private AnnoEmployeeMapper annoEmployeeMapper;

    @Override
    public void delete(Long eId, Long aId) {
        annoEmployeeMapper.delete(eId,aId);
    }

    @Override
    public void insert(AnnoEmployee annoEmployee) {
        annoEmployeeMapper.insert(annoEmployee);
    }
}
